WooCommerce\PayPalCommerce\WcGateway\Gateway\CreditCardGateway S

Total Complexity 42
Dependencies 18
Dependents 15
Total lines 486
Lines of code 228
Logical lines of code 86
Comment lines 175
Methods 15
Properties 13

Methods 15

Method Rating Maintainability Complexity Lines of code
__construct()
A
40 10 63
process_payment()
A
44 10 49
get_icon()
S
55 3 20
card_labels()
S
50 1 39
replace_credit_card_cvv_label()
S
70 3 6
process_refund()
S
67 2 7
init_settings()
S
75 2 4
get_option()
S
71 2 6
update_option()
S
65 2 9
is_enabled()
S
79 2 3
init_form_fields()
S
70 1 7
form()
S
72 1 5
is_available()
S
81 1 3
get_transaction_url()
S
75 1 4
settings_renderer()
S
82 1 3